﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;

namespace poco
{
    public class IM
    {
        public enum IMType { aim, gtalk, icq, xmpp, msn, qq, yahoo };

        [JsonProperty(PropertyName = "value")]
        public string Value { get; set; }

        [JsonProperty(PropertyName = "type")]
        public IMType Type { get; set; }

        [JsonProperty(PropertyName = "primary")]
        public bool Primary { get; set; }
    }
}
